package com.lanan.springboot.service;

import com.lanan.springboot.model.Role;

import java.util.List;

/**
 * @desc IRoleService
 * @author lanan
 * @date 2022-04-30 21:58:36
 **/
public interface IRoleService {
    Role selectById(Integer roleId);

    List<Role> selectAll();

    void insert(String name, Integer[] permissionIds);

    void update(Integer id, String name, Integer[] permissionIds);

    void delete(Integer id);
}
